package com.kekezu.kppw.dataprocess;

import com.kekezu.kppw.data.RegisterData;

import android.content.Context;

public class RegisterDP {
	/**
	 * 用户注册
	 */
	public static String[] userReg(String strPhone, String strPwd,
			String strName, Context context) {
		return RegisterData.userReg(strPhone, strPwd, strName, context);
	}

	/**
	 * 获取验证码
	 * 
	 * @param strPhone
	 * @param context
	 */
	public static void userRegPin(String strPhone, String strType,
			Context context) {
		RegisterData.userRegPin(strPhone, strType, context);
	}

	/**
	 * 注册手机验证码验证
	 * 
	 * @param strPhone
	 * @param strCode
	 * @param context
	 */
	public static String[] phoneCodeVertiy(String strPhone, String strCode,
			Context context) {
		return RegisterData.phoneCodeVertiy(strPhone, strCode, context);
	}

	/**
	 * 找回密码
	 * 
	 * @param strPhone
	 * @param strCode
	 * @param context
	 */
	public static String[] userRetPwd(String strPhone, String strCode,
			Context context) {
		return RegisterData.userRetPwd(strPhone, strCode, context);
	}

	/**
	 * 找回密码，设置新密码
	 * 
	 * @param strPassWord1
	 * @param strPassWord2
	 * @param strToken
	 * @param context
	 */
	public static String[] userRetNewPwd(String strPassWord1,
			String strPassWord2, String strToken, Context context) {
		return RegisterData.userRetNewPwd(strPassWord1, strPassWord2, strToken,
				context);
	}

	/**
	 * 修改登录密码
	 * 
	 * @param strOldPwd
	 * @param strPassWord
	 * @param strRePassWord
	 * @param context
	 */
	public static String[] userChangePwd(String strOldPwd, String strPassWord,
			String strRePassWord, Context context) {
		return RegisterData.userChangePwd(strOldPwd, strPassWord,
				strRePassWord, context);
	}

	/**
	 * 修改支付密码
	 * 
	 * @param strOldPwd
	 * @param strPassWord
	 * @param strRePassWord
	 * @param context
	 */
	public static String[] updatePayCode(String strOldPwd, String strPassWord,
			String strRePassWord, Context context) {
		return RegisterData.updatePayCode(strOldPwd, strPassWord,
				strRePassWord, context);
	}

	/**
	 * 找回支付密码
	 * 
	 * @param strPhone
	 * @param strPin
	 * @param strNewPwd
	 * @param strReNewPwd
	 * @param context
	 */
	public static String[] payPwdReset(String strPhone, String strPin,
			String strNewPwd, String strReNewPwd, Context context) {
		return RegisterData.payPwdReset(strPhone, strPin, strNewPwd,
				strReNewPwd, context);
	}

}
